//
//  Material.cpp
//  TrackingSim
//
//  Created by Garrett Manka on 1/28/12.
//  Copyright (c) 2012. All rights reserved.
//

#include <graphics/Material.h>

Material::Material()
{
    
}

void Material::setName( const std::string& name )
{
    m_name = name;
}

void Material::setAmbient( const Sim::Vector& ambient )
{
    m_K_ambient = ambient;
}

void Material::setDiffuse( const Sim::Vector& diffuse )
{
    m_K_diffuse = diffuse;
}

void Material::setSpecular( const Sim::Vector& specular )
{
    m_K_specular = specular;
}

void Material::setSpecCoeff( double spec_coeff )
{
    m_N_spec_coeff = spec_coeff;
}

void Material::setTransparency( double transparency )
{
    m_transparency = transparency;
}

std::string& Material::getName()
{
    return m_name;
}

Sim::Vector& Material::getAmbient()
{
    return m_K_ambient;
}

Sim::Vector& Material::getDiffuse()
{
    return m_K_diffuse;
}

Sim::Vector& Material::getSpecular()
{
    return m_K_specular;
}

double Material::getSpecCoeff()
{
    return m_N_spec_coeff;
}

double Material::getTransparency()
{
    return m_transparency;
}